import Vue from 'vue'
import VueRouter from 'vue-router'
import Index from "../views/Index.vue"

Vue.use(VueRouter)

const routes = [
  {
    path:"/", component:Index
  },
  // {
  //   path:"/details/:lid",
  //   props:true, 
  //   component:()=>import(

  //     // '../views/Details.vue'
  //   )
  // },

]

const router = new VueRouter({
  base: process.env.BASE_URL,
  routes
})

export default router
